package com.zimmur.dao;


import java.util.List;

import com.zimmur.model.account.UserRecommand;
import com.zimmur.model.zone.SharedProperty;

public interface IUserRecommandDao {
	/**
	 * 添加
	 * @param topic
	 */
    int insertUserRecommand(UserRecommand  userRecommand);
    /**
	 * 修改
	 * @param topic
	 */
    int updateUserRecommand(UserRecommand  userRecommand);
    /**
	 * 查询
	 * @param topic
	 */
    UserRecommand selectUserRecommand(UserRecommand userRecommand);
    /**
     * 查询推荐的设计师
     * @return
     */
    UserRecommand selectByIsvalidRecommand1();
    /**
     * 查询推荐设计师及其下推荐商品对其进行分页
     * @param sharedProperty
     * @return
     */
    List<UserRecommand> selectByIsvalidRecommandList(SharedProperty sharedProperty);
    
    int selectByIsvalidRecommandCount();
}